package org.lex.ftp.ui.actions;

import java.awt.event.ActionEvent;

import javax.swing.KeyStroke;

import org.lex.ftp.FTP;
import org.lex.ftp.ui.bookmark.BookmarkDialog;


public class BookmarkAction extends FTPAction {
	public BookmarkAction(FTP app) {
		super(app);
		this.setName("Bookmark");
		this.setAcceleratorKey(KeyStroke.getKeyStroke("F4"));
	}

	public void actionPerformed(ActionEvent e) {
		new BookmarkDialog(app.getRootWindow()).setVisible(true);
	}
}
